﻿<Window x:Class="Drawing.MiniLanguage"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    Title="MiniLanguage" Height="380" Width="336"
    >
  <StackPanel>
    <Path Stroke="Blue">
      <Path.Data>
        <PathGeometry>
          <PathFigure IsClosed="True" StartPoint="10,100">
            <LineSegment Point="100,100" />
            <LineSegment Point="100,50" />
          </PathFigure>
        </PathGeometry>
      </Path.Data>
    </Path>

    <Path Stroke="Blue">
      <Path.Data>
        <PathGeometry Figures="M 10,100 
          L 100,100 L 100,50 Z"></PathGeometry>
      </Path.Data>
    </Path>
    <Path Stroke="Blue" Data="M 10,100 L 100,100 L 100,50 Z"/>
  </StackPanel>
</Window>
